﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CutAways.Modeling
{
	public class ModelLoadingException : Exception
	{
		private int lineNumber;

		public int LineNumber
		{
			get { return lineNumber; }
		}

		public ModelLoadingException(string message)
			: this(message, -1)
		{ }

		public ModelLoadingException(string message, int lineNumber)
			: base(message)
		{
			this.lineNumber = lineNumber;
		}
	}
}
